<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module Abonnement</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>Abonnement</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/geoff/workspace/svn/trunk/DreamPark/modele/Abonnement.py">/home/geoff/workspace/svn/trunk/DreamPark/modele/Abonnement.py</a></font></td></tr></table>
    <p><tt>Created&nbsp;on&nbsp;5&nbsp;dec.&nbsp;2014<br>
&nbsp;<br>
@author:&nbsp;Damien&nbsp;Torond&nbsp;et&nbsp;Geoffrey&nbsp;Sentost<br>
Module&nbsp;<a href="#Abonnement">Abonnement</a></tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="modele.Contrat.html">modele.Contrat</a><br>
</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="builtins.html#object">builtins.object</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="Abonnement.html#Abonnement">Abonnement</a>
</font></dt></dl>
</dd>
</dl>
 <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Abonnement">class <strong>Abonnement</strong></a>(<a href="builtins.html#object">builtins.object</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>On&nbsp;va&nbsp;montrer&nbsp;ici&nbsp;la&nbsp;classe&nbsp;<a href="#Abonnement">Abonnement</a>&nbsp;qui&nbsp;permet&nbsp;de&nbsp;creer&nbsp;des&nbsp;contrats&nbsp;d'abonnements&nbsp;pour&nbsp;les&nbsp;clients.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Abonnement-__init__"><strong>__init__</strong></a>(self, id, libelle, prix)</dt><dd><tt>Constructeur&nbsp;de&nbsp;la&nbsp;classe&nbsp;<a href="#Abonnement">Abonnement</a>.<br>
Attributs&nbsp;:<br>
&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;id&nbsp;de&nbsp;type&nbsp;int.<br>
&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;libelle&nbsp;de&nbsp;type&nbsp;string,correspond&nbsp;au&nbsp;libelle&nbsp;du&nbsp;contrat.<br>
&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;prix&nbsp;de&nbsp;type&nbsp;int,&nbsp;correspond&nbsp;au&nbsp;prix&nbsp;du&nbsp;contrat.</tt></dd></dl>

<dl><dt><a name="Abonnement-ajouterContrat"><strong>ajouterContrat</strong></a>(self)</dt><dd><tt>Methode&nbsp;:&nbsp;permet&nbsp;d'ajouter&nbsp;un&nbsp;contrat&nbsp;de&nbsp;la&nbsp;classe&nbsp;Contrat&nbsp;a&nbsp;la&nbsp;liste.</tt></dd></dl>

<dl><dt><a name="Abonnement-getEstSuperAbonne"><strong>getEstSuperAbonne</strong></a>(self)</dt><dd><tt>Methode&nbsp;:&nbsp;permet&nbsp;de&nbsp;savoir&nbsp;si&nbsp;le&nbsp;client&nbsp;est&nbsp;superAbonne&nbsp;et&nbsp;retourne&nbsp;un&nbsp;booleen.<br>
Si&nbsp;l'id&nbsp;est&nbsp;de&nbsp;2,&nbsp;on&nbsp;retourne&nbsp;True(superAbonnes)&nbsp;sinon&nbsp;False(non&nbsp;superAbonne).</tt></dd></dl>

<dl><dt><a name="Abonnement-getId"><strong>getId</strong></a>(self)</dt><dd><tt>Methode&nbsp;:&nbsp;accesseur&nbsp;de&nbsp;l'attribut&nbsp;id&nbsp;qui&nbsp;retourne&nbsp;celui-ci.</tt></dd></dl>

<dl><dt><a name="Abonnement-getLibelle"><strong>getLibelle</strong></a>(self)</dt><dd><tt>Methode&nbsp;:&nbsp;accesseur&nbsp;de&nbsp;l'attribut&nbsp;libelle&nbsp;qui&nbsp;retourne&nbsp;celui-ci.</tt></dd></dl>

<dl><dt><a name="Abonnement-getListeContrats"><strong>getListeContrats</strong></a>(self)</dt><dd><tt>Methode&nbsp;:&nbsp;accesseur&nbsp;de&nbsp;la&nbsp;liste&nbsp;listeContrats&nbsp;qui&nbsp;retourne&nbsp;celui-ci.</tt></dd></dl>

<dl><dt><a name="Abonnement-getPrix"><strong>getPrix</strong></a>(self)</dt><dd><tt>Methode&nbsp;:&nbsp;accesseur&nbsp;de&nbsp;l'attribut&nbsp;prix&nbsp;qui&nbsp;retourne&nbsp;celui-ci.</tt></dd></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table></td></tr></table>
</body></html>